<?php

namespace App\Http\Controllers\Admin\Wechat;

use App\Http\Controllers\Admin\BaseController;

class MaterialController extends BaseController
{
    public function index(){
        $wechat = app('wechat');
        // 永久素材
        $material = $wechat->material;
        // 临时素材
        //$temporary = $wechat->material_temporary;
        $lists = $material->lists('image', 0, 30)->all();
        //dd($lists['item']);
        return view('admin.wechat.material.index',compact('lists', 'lists'));
    }
}